﻿using AutoRegister.Tests.Lib;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;

namespace AutoRegister.Tests.LibA
{
    public class LibAServiceRegister : IServiceRegister
    {
        public void Register(IServiceCollection services, IConfiguration configuration)
        {
            services.TryAddEnumerable(ServiceDescriptor.Singleton<ILibTest, ALibTest>());
        }
    }
}
